//IplImageToQImage.h



#ifndef QTIPL_H
#define QTIPL_H

#include <iostream>
#include <cstring>
#include <qimage.h>
#include "cv.h"
#include <QVector>


using std::string;
using std::iostream;
//const int QImage_IgnoreEndian = 2;


QImage *IplImageToQImage(const IplImage * iplImage, uchar **data, double mini=0.0, double maxi=0.0);
IplImage *QImageToIplImage(const QImage * qImage);

#endif